package system

import (
	"github.com/flipped-aurora/gin-vue-admin/server/model/common/response"

	"github.com/gin-gonic/gin"
)

// @Tags System
// @Summary 获取服务器信息
// @Produce  application/json
// @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}"
// @Router /system/getVersion [get]
func (s *SystemApi) GetVersion(c *gin.Context) {
	version := "$(version)"
	response.OkWithDetailed(gin.H{"version": version}, "获取成功", c)
}
